package com.cn.kehong.dao;

import com.cn.kehong.domain.ProductThinPeriod;
import com.cn.kehong.domain.ProductThinPeriodExample;
import java.util.List;

import com.cn.kehong.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface ProductThinPeriodMapper {
    int countByExample(ProductThinPeriodExample example);

    int deleteByExample(ProductThinPeriodExample example);

    int insert(ProductThinPeriod record);

    int insertSelective(ProductThinPeriod record);

    List<ProductThinPeriod> selectByExample(ProductThinPeriodExample example);

    List<ProductThinPeriod> selectProductThinPeriods(QueryForm queryForm);

    List<ProductThinPeriod> selectProductThinPeriodByLineStatus();

    int selectProductThinPeriodCount(QueryForm queryForm);

    int updateByExampleSelective(@Param("record") ProductThinPeriod record, @Param("example") ProductThinPeriodExample example);

    int updateByExample(@Param("record") ProductThinPeriod record, @Param("example") ProductThinPeriodExample example);

    int batchUpdateThinPeriods(List<ProductThinPeriod> records);

    int getProductThinPeriodBackCount(QueryForm queryForm);

    List<ProductThinPeriod> getProductThinPeriodBackList(QueryForm queryForm);
    List<ProductThinPeriod> getProductThinPeriodBackListEx(QueryForm queryForm);
}